You are here: Understanding the Meridian object model > About the Document object > The Document object methods > ImportHybridPart method

ImportHybridPart method

Creates a new hybrid part for the current document and loads content from the specified file path.

Syntax

ImportHybridPart(FilePath as String) As IASDocument6
Parameters
Name Description

FilePath

The path of a file from which to import document content for the new hybrid part.

Remarks

This method is equivalent to the combination of the CreateHybridPart and LoadFromFile methods.

For events to occur for this method, the HybridEvents setting in the [ScriptEvents] section on the Application Integration tab of Application Settings in Configurator must be set to Y (default).